package com.company.finance.ddd.domain.core.voucher.event;

import lombok.Builder;
import lombok.Getter;
import lombok.ToString;

/**
 * @author wanglei
 */
@Getter
@ToString
@Builder
public class VoucherCreateFailedEvent implements Event {

    private final Long billId;
    private final Long voucherId;

    public VoucherCreateFailedEvent(Long billId, Long voucherId) {
        this.billId = billId;
        this.voucherId = voucherId;
    }
}
